﻿#if NETCore
using Microsoft.AspNetCore.Mvc;

namespace Longbow.Cache.Controller
{
    [Route("api/[controller]")]
    [ApiController]
    public class IndexController : ControllerBase
    {
        [HttpGet]
        public ActionResult<string> Get()
        {
            CacheManager.CorsClear(new string[] { "Test*" });
            return "Done!";
        }
    }
}
#endif
